<?php
	 require_once 'lib/sql.utils.php';
	 $DEBUG = false;
	 $util = new SqlUtils();
	 $diagram = $_POST['diagram'];
	 $name = $_POST['name'];
	 $diagram = "'".$diagram."'";
	 $name = '"'.$name.'"';	 
	 $colList = array('diagram','name');
	 $rowList = array();
	 $rowList[0] = array($diagram,$name);  
	 $util->insertRows($colList,$rowList,'diagrams');
?>